using UnityEngine;
using UnityEngine.SceneManagement;

public class SceneLoader : MonoBehaviour
{
    public void LoadTownScene()
    {
        SceneManager.LoadScene("TownScene");
    }

    public void LoadDungeonScene()
    {
        SceneManager.LoadScene("DungeonScene");
    }

    public void LoadScene(string sceneName)
    {
        SceneManager.LoadScene(sceneName);
    }
}